package com.nursing.bean;

import org.springframework.stereotype.Component;

// 家属信息表
@Component
public class Family {
    private Integer id;
    private Integer elderId; // 老人id
    private String name; // 姓名
    private String relationship; // 与老人关系
    private String phone; // 电话

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
